package com.scvtc.domain.vo.system.user;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.scvtc.domain.dto.system.menu.SystemMenuDto;
import com.scvtc.domain.dto.system.user.UserInfoDto;
import lombok.*;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @Description: 每次查询用户展示数据
 * @Author: yiFei
 * @date: 2022/5/3 0:56
 */
@Data
@Builder
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class UserInfoVo {

    /**
     * 系统用户
     */
    private UserInfoDto userInfoDto;
    /**
     * 权限
     */
    private List<String> permissions;
    /**
     * 用户菜单
     */
    private List<SystemMenuDto> menus;
}
